package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.pojo.Dept;
import com.example.demo.pojo.Result;

/**
 * <p>
 *
 * @Description: DeptService
 * </p>
 * @Author yangjiwang
 * @Date 2023/2/27
 */
public interface DeptService extends IService<Dept>{

    /**
     * 新建或修改部门信息
     * @param entity Dept
     * @return Result<Dept>
     */
    Result<Dept> createOrUpdate(Dept entity);
}
